package com.xmut.mall.auth.feign;

import com.xmut.mall.auth.utils.RespBean;
import com.xmut.mall.auth.vo.LoginVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("mall-manager")
public interface ManagerFeignService {

    /**
     * 检查用户是否存在
     * @param vo
     * @return
     */
    @PostMapping("/manager/member/managerLogin")
    RespBean managerLogin(@RequestBody LoginVo vo);
}
